package com.cgnpc.scp.purchase.mybatis.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.cgnpc.scp.common.utils.DateUtil;

import java.util.Date;

@TableName("tbl_purchase_contract_apply_item")
public class ContractProcessItem {
    private String id;

    private String applyId;

    private Integer procType;

    private String itemId;

    private String demandCode;

//    private String estimateAmount;
//
//    private String currency;
//
//    private Date requiredArrivalTime;
//
//    private Date plannedCompletionTime;

    private Integer demandType;

    private Integer isChange;

    private Date createTime;

    private String createUser;

    private String createUserName;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getApplyId() {
        return applyId;
    }

    public void setApplyId(String applyId) {
        this.applyId = applyId == null ? null : applyId.trim();
    }

    public Integer getProcType() {
        return procType;
    }

    public void setProcType(Integer procType) {
        this.procType = procType;
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId == null ? null : itemId.trim();
    }

    public String getDemandCode() {
        return demandCode;
    }

    public void setDemandCode(String demandCode) {
        this.demandCode = demandCode;
    }

//    public String getEstimateAmount() {
//        return estimateAmount;
//    }
//
//    public void setEstimateAmount(String estimateAmount) {
//        this.estimateAmount = estimateAmount;
//    }
//
//    public String getCurrency() {
//        return currency;
//    }
//
//    public void setCurrency(String currency) {
//        this.currency = currency;
//    }
//
//    public Date getRequiredArrivalTime() {
//        return DateUtil.cloneNewDate(requiredArrivalTime);
//    }
//
//    public void setRequiredArrivalTime(Date requiredArrivalTime) {
//        this.requiredArrivalTime = DateUtil.cloneNewDate(requiredArrivalTime);
//    }
//
//    public Date getPlannedCompletionTime() {
//        return DateUtil.cloneNewDate(plannedCompletionTime);
//    }
//
//    public void setPlannedCompletionTime(Date plannedCompletionTime) {
//        this.plannedCompletionTime = DateUtil.cloneNewDate(plannedCompletionTime);
//    }

    public Integer getDemandType() {
        return demandType;
    }

    public void setDemandType(Integer demandType) {
        this.demandType = demandType;
    }

    public Integer getIsChange() {
        return isChange;
    }

    public void setIsChange(Integer isChange) {
        this.isChange = isChange;
    }

    public Date getCreateTime() {
        return DateUtil.cloneNewDate(createTime);
    }

    public void setCreateTime(Date createTime) {
        this.createTime = DateUtil.cloneNewDate(createTime);
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName == null ? null : createUserName.trim();
    }

}